package org.javagril.yuetong.mapper;


import org.apache.ibatis.annotations.Param;
import org.javagril.yuetong.bean.Scheduling;

import java.util.List;

public interface SchedulingMapper {
    int deleteByPrimaryKey(Integer schedulingid);

    int insert(Scheduling record);

    int insertSelective(Scheduling record);

    Scheduling selectByPrimaryKey(Integer schedulingid);

    int updateByPrimaryKeySelective(Scheduling record);

    int updateByPrimaryKey(Scheduling record);

    /*查询所有调度任务的信息*/
    List<Scheduling> getSchedulingByPage(@Param("page") Integer page, @Param("size") Integer size);

    /*信息总数*/
    Long getTotal();
}